const mongoose = require('mongoose');

const config = require('../config');
const Storage = require('./Storage');
let db =  mongoose.createConnection(config.storage.dbUrl + '/' + config.storage.dbName);

let storage = new Storage(db,global.appLogger);


module.exports = storage;